package thread;

class MyTask{
    private Runnable runnable;
    private long time;

    public MyTask(Runnable runnable, long time) {
        this.runnable = runnable;
        this.time = time;
    }
}
public class MyTimer {


    public void schedule(Runnable runnable, long time){
        MyTask myTask = new MyTask(runnable,time);
    }
}
